package bjut.zrpc.core.optimization.interfaces;


import bjut.zrpc.core.optimization.annotation.SPI;
import bjut.zrpc.core.optimization.bean.ZRpcServiceBean;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/23 21:18
 */
@SPI(value = "zookeeper")
public interface ServiceRegistry {

    void registerService(ZRpcServiceBean zRpcServiceBean);

    void addService(ZRpcServiceBean zRpcServiceBean);

    Object getService(String serviceName);

}
